﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <environment include="Development">
        <link href="~/twitter-bootstrap/css/bootstrap.min.css" rel="stylesheet" />
        <link href="~/twitter-bootstrap/css/bootstrap.css" rel="stylesheet" />
    </environment>
    @*<environment exclude="Development">
        <link href="~/twitter-bootstrap/css/bootstrap.css" rel="stylesheet" />
    </environment>*@
    <link href="~/css/site.css" rel="stylesheet" />

</head>
<body>
    <div class="container">

        <nav class="navbar navbar-expand-md bg-dark navbar-dark">

            <a class="navbar-brand" asp-controller="home" asp-action="index">
                <img src="~/image/2.jpg" width="30px; height=30px; alt="Alternate Text" />
            </a>

            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div id="collapsibleNavbar" class="collapse navbar-collapse">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" asp-controller="home" asp-action="Index">学生列表</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" asp-controller="home" asp-action="Create">添加学生</a>
                    </li>
                </ul>
            </div>

        </nav>

        @RenderBody()
    </div>
    <script src="~/lib/jquery/jquery.min.js"></script>
    <script src="~/twitter-bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="~/twitter-bootstrap/js/bootstrap.bundle.js"></script>
    <script src="~/twitter-bootstrap/js/bootstrap.min.js"></script>
    <script src="~/twitter-bootstrap/js/bootstrap.js"></script>
    @RenderSection("Scripts", required: false)

</body>
</html>
